﻿namespace Trader.BO.Interface
{
    using System;

    public abstract class IMoney
    {
        public static IMoney operator *(decimal number, IMoney money)
        {
            IMoney newMoney = money.Clone();
            newMoney.Multiply(number);
            return newMoney;
        }

        public abstract IMoney Clone();

        public abstract void Add(IMoney money, DateTime date);

        public abstract void Substract(IMoney money, DateTime date);

        public abstract void Multiply(decimal ratio);

        public abstract decimal In(ICurrecny currencyToConvertInto, DateTime date);

        public abstract decimal In();
    }
}